home *** CD-ROM | disk | FTP | other *** search
- /* ---------------------------------------------------- */
- /* (c) 1995 Niksoft International */
- /* SPRITE CUTTER UTILITY v2.0 */
- /* ---------------------------------------------------- */
- /* CUTLST.H */
- /* ---------------------------------------------------- */
-
- #ifndef __RGBCOLOR
-
- #define __RGBCOLOR
-
- typedef struct {
-
- char red;
- char green;
- char blue;
-
- } RGB_color;
-
- #endif
-
- #ifndef __PICTURE
-
- #define __PICTURE
-
- typedef struct {
-
- RGB_color palette[256];
- char far *buffer;
-
- } picture;
-
- #endif
-
- #define MAXSTRINGLEN 25
-
- extern struct CUT {
- unsigned x, y;
- unsigned char height, width;
- struct CUT *next;
- } *cut_list;
-
- extern picture source_pic;
- extern char source_name[MAXSTRINGLEN];
- extern unsigned char cut_x_size, cut_y_size;
-
- extern int load_source(char *);
-
- extern int cut_sprite(unsigned, unsigned);
-
- extern int load_LST();
-
- extern int save_LST(unsigned);
-
- extern void destroy_LST();
-
- extern int save_SPR();
-
- extern void Draw_cuts();
-